package xiaojun.JAVA.domain.dto;

/**
 * 数据传输对象类型-用户
 *
 * @author 赖晓君
 * @since 2025/6/8  14:29
 */
public class UserDto extends BaseDto{
    /**
     * 用户名，用来登录的
     */
    public String username;
    /**
     * 真实姓名
     */
    public String name;
    /**
     * 电话
     */
    public String phone;
    /**
     * 邮箱
     */
    public String email;

    public int deptId;
    public int roleId;

    public UserDto() {
    }

    public UserDto(String username, String name, String phone, String email, int deptId, int roleId) {
        this.username = username;
        this.name = name;
        this.phone = phone;
        this.email = email;
        this.deptId = deptId;
        this.roleId = roleId;
    }
}
